package com.opal.salescost.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.opal.salescost.entity.SalesorgForm;
import com.opal.salescost.entity.table.VcXsalescostOp;
import com.opal.salescost.mapper.VcXsalescostOpMapper;
import com.opal.salescost.service.SalescostOpService;

@Service
public class SalescostOpServiceImpl implements SalescostOpService {

    @Autowired
    private VcXsalescostOpMapper mapper;



    @Override
    public List<VcXsalescostOp> findAll(SalesorgForm salesorgForm) {
        List<VcXsalescostOp> vcXsalescostOpList = mapper.findAll(salesorgForm);
        return vcXsalescostOpList;
    }

    @Override
    public List<VcXsalescostOp> getPage(SalesorgForm salesorgForm) {
        return mapper.getPage(salesorgForm);
    }

    @Override
    public int getCount(SalesorgForm salesorgForm) {
        return mapper.getCount(salesorgForm);
    }


}
